package com.lsh.payment.core.service.mispurse;

import com.lsh.payment.api.model.mispurse.MisRefundResponse;
import com.lsh.payment.core.model.payment.PayDeal;
import com.lsh.payment.core.model.refund.PayRefund;

/**
 * Project Name: lsh-payment
 *
 * @author peter
 * @date 17/6/29
 * 北京链商电子商务有限公司
 * Package
 * desc:
 */
public interface IMisPurseRefundService {

    /**
     * 退款请求
     * @param payRefund
     * @param payDeal
     * @return
     */
    MisRefundResponse refund(PayRefund payRefund, PayDeal payDeal);

    /**
     * 查询退款信息
     * @param payRefund
     * @param payDeal
     * @return
     */
    MisRefundResponse refundQuery(PayRefund payRefund, PayDeal payDeal);
}
